A new approach for implementing stand-alone and Web-based interpreters for Java

نویسندگان

  • Stephan Diehl
  • Claudia Bieg
چکیده

Compared to imperative programming languages like Pascal or Basic, or functional programming languages like ML or Haskell learning Java is hampered by the fact that to get even the simplest running program the learner has to define a public class and a method with a certain signature. We present both a stand-alone and a webbased interpreter which execute Java fragments and relieve the learner from programming all the extra code. The implementation of these interpreters extremely differs from other Java interpreters and exploits the Java compiler as much as possible to preserve the original semantics of Java and allow access to all features and APIs of Java. By virtue of these interpreters the learner can explore primitive values, variables, expressions, assignments, and control-flow statements before even knowing about classes and methods. The web-based interpreter has been integrated into an online tutorial for learning Java programming from basic principles.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Approach for Reactive Power Control of Single Phase Transformerless Inverter to Modify Power Quality in Stand Alone Micro-Grids with Current Leakage Elimination

Nowadays there has been an increasing interest in transformerless inverter for grid-connected photovoltaic (PV) system due to low cost, high efficiency and light weight. One of the reasons describe the grid behavior is capability of reactive power control by inverter. According to the standard VDE-AR-N 4105, grid-tied PV inverter of power rating below 3.68KVA, should attain power factor (PF) fr...

متن کامل

Novel Approach for Optimal Sizing of Stand-alone Hybrid Photovoltaic/Wind Systems

Nowadays using of new energies in the form of dispersed resources in the worlds is wide spreading. In this article we will design a dispersed production source in the form of a solar/wind hybrid power plant in order to supply the energy of a residential unit according to a sample load pattern. The aim of aforementioned design is to reduce its costs in a period of 20 years. In order to optimi...

متن کامل

Adult Degenerative Scoliosis with Spinal Stenosis Treated with Stand-Alone Cage via an Extreme Lateral Transpsoas Approach; a Case Report and Literature Review

We report the case of a 73-year-old female with severe degenerative scoliosis and back and leg pain that wassuccessfully treated with stand- alone cages via an extreme lateral transpsoas approach. This patient had declinedopen surgery and instrumentation due to her advanced age concerns about potential side effects.

متن کامل

Implementing an E cient Java

The Java virtual machine (JVM) is usually implemented with an interpreter or just-in-time (JIT) compiler. JIT compilers provide the best performance, but must be substantially rewritten for each architecture they are ported to. Interpreters are easier to develop and maintain, and can be ported to new architectures with almost no changes. The weakness of interpreters is that they are much slower...

متن کامل

Implementing an Eecient Java Interpreter

The Java virtual machine (JVM) is usually implemented with an interpreter or just-in-time (JIT) compiler. JIT compilers provide the best performance, but must be substantially rewritten for each architecture they are ported to. Interpreters are easier to develop and maintain, and can be ported to new architectures with almost no changes. The weakness of interpreters is that they are much slower...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003